package com.example.jimanguang.Repositories;

import com.example.jimanguang.Entity.ReadingHIstory;

import com.example.jimanguang.Entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
import java.util.UUID;

public interface ReadingHIstoryRepository extends JpaRepository<ReadingHIstory, UUID> {


    //根据用户查找阅读记录信息
    List<ReadingHIstory> findReadingHIstoriesByUserEqualsOrderByTimeDesc(User user);



}
